Method GenerateTreeStreamsSelect(IReadOnlyList<FieldInfo>, string, string?, IReadOnlyCollection<string>?, bool, string)
The bare SELECT of the streams source over an open tree CTE, for a caller that writes
its own "FROM ( ... ) pvt" around the pivot. One row per node of the tree that belongs to the
scheme; the node id is exposed both as _id_object and, when asked for among
baseColumns, as _id.
public string GenerateTreeStreamsSelect(IReadOnlyList<FieldInfo> fields, string schemeIdParam, string? additionalObjectFilter, IReadOnlyCollection<string>? baseColumns, bool scalarIndexHint, string indent)